
using System;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// Serizalizable ���Զ�������ܹ���ʾ�������������
/// </summary>
[Serializable]
public class LevelData
{
    public int level;

    public string name;

    public string description;

    public float maxLevel;

    public Color color;

}

[System.Serializable]

public abstract class IConfigData
{

}
[System.Serializable]
public class LevelConfig : IConfigData
{
    public string[] toys;
}

[System.Serializable]
public class AllToyConfig: IConfigData {
    public string[] levels;
}


[System.Serializable]
public class PosConfig : IConfigData
{
    public Dictionary<string, List<float>> list;
}

public class ScoreConfig: IConfigData {
    public Dictionary<string,float> scoreMap;
}

[Serializable]
public class PostItemList
{
    public List<PosItem> list;
}

[Serializable]
public class PosItem
{
    public string key;
    public List<float> value;
}

public class PlayerData {
    /// <summary>
    /// 最大关卡
    /// </summary>
    public int maxLevel;
    /// <summary>
    /// 最好分数
    /// </summary>
    public int maxScore;
}

